Initializes a new instance of the
ListItemInfo class with settings.
Syntax
'Declaration
Public Function New( _
ByVal () As Object, _
ByVal As Integer, _
ByVal As Object, _
ByVal As Color, _
ByVal As Color, _
ByVal As Integer, _
ByVal As Font, _
ByVal As GradientEffect, _
ByVal As String, _
ByVal As Object, _
ByVal As Boolean _
)
'Usage
Dim subItems() As Object
Dim indent As Integer
Dim image As Object
Dim backColor As Color
Dim foreColor As Color
Dim height As Integer
Dim font As Font
Dim gradientEffect As GradientEffect
Dim toolTipText As String
Dim tag As Object
Dim visible As Boolean
Dim instance As New ListItemInfo(subItems, indent, image, backColor, foreColor, height, font, gradientEffect, toolTipText, tag, visible)
public ListItemInfo(
object[] ,
int ,
object ,
Color ,
Color ,
int ,
Font ,
GradientEffect ,
string ,
object ,
bool
)
Parameters
- subItems
- A collection of SubItem objects.
- indent
- An System.Int32 value that represents the indent setting of the ListItemInfo object.
- image
- An object value that represents the image of the ListItemInfo object.
- backColor
- A System.Drawing.Color value that represents the background color of the ListItemInfo object.
- foreColor
- A System.Drawing.Color value that represents the foreground color of the ListItemInfo object.
- height
- An System.Int32 value that represents the height of the ListItemInfo object.
- font
- A Font value that represents the font of the ListItemInfo object.
- gradientEffect
- A GradientEffect that represents the gradient effect of the ListItemInfo object.
- toolTipText
- A System.String value that represents the tooltip text of the ListItemInfo object.
- tag
- An object value that represents the tag of the ListItemInfo object.
- visible
- A bool value that represents whether the ListItemInfo object is visible.
See Also